﻿namespace Models
{
    public class UserClaimsModel : BaseModel
    {
        /// <summary>
        /// 登录编码
        /// </summary>
        public string LoginCode { get; set; }

        /// <summary>
        /// 登录用户的所属类型的ID，可能是集团ID，可能是监管部门ID
        /// </summary>
        public int LoginTypeID { get; set; }

        /// <summary>
        /// 登录用户类型
        /// </summary>
        public LoginUserType LoginUserType { get; set; }





        /// <summary>
        /// 用户ID（可能是集团，可能是监管部门）
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }





        /// <summary>
        /// 角色中所有的部门
        /// </summary>
        public (bool, List<int>) LoginUserRoleDepartment { get; set; }

        /// <summary>
        /// 角色中矿山的部门
        /// </summary>
        public (bool, List<int>) LoginUserKuangShanDepartment { get; set; }

        /// <summary>
        /// 用户的仓库IDs
        /// </summary>
        public List<int> LoginUserWarehouseIDs { get; set; }

        public List<int> LoginUserWarehouseIDsWithDataDepartment { get; set; }

        /// <summary>
        /// 监管部门的矿山IDs
        /// </summary>
        public List<int> LoginRegulatorDepartmentIDs { get; set; }
    }
}
